package com.guhecloud.step.definition.runtime;

import org.jetbrains.annotations.NotNull;

public interface IDomainStep <Model extends IDomainModel, Ex extends RuntimeException> extends IDomainService{
    @NotNull
    String activityCode();

    /**
     * 该步骤编号.
     */
    @NotNull
    String stepCode();

    void execute(@NotNull Model model) throws Ex;
}
